import { Injectable } from '@nestjs/common'

@Injectable()
export class UploadService {
  saveFile(file: Express.Multer.File) {

    return {
      name: file.originalname,
      url: file.path.replaceAll('\\', '/')
    }
  }
}
